#include "Point2.h"

Point2::Point2(void)
{
}

Point2::Point2( double x, double y )
{
	this->x = x;
	this->y = y;

}

Point2::Point2( Point2* p )
{
	x = p->x;
	y = p->y;
}
Point2::~Point2(void)
{
}

Point2* Point2::set( double x, double y )
{
	this->x = x;
	this->y = y;
	return this;
}

Point2* Point2::set( Point2* p )
{
	x = p->x;
	y = p->y;
	return this;
}